public class VisibleDetector_NPC : VisibleDetector
{
    private Character character;

    private void Awake()
    {
        character = GetComponent<Character>();
    }

    public override void CheckVisible()
    {
        Visible = !character.b_died && playerEye.CanSee(character);
    }
}
